#!/bin/bash
# run solr commit command so recent updates can be searched
# takes solr server name as argument
curl http://$1/solr/update -F stream.file=`pwd`/commit.xml